<?php

/**
 * Flickr Photosets - Open Source Information Page
 * Contains information about the open source.
 * 
 * @author Brad Dougherty <bdougherty@gmail.com>
 * @version 8.1.26
 * @license http://www.gnu.org/licenses/gpl.html GNU General Public License 3.0
 */

/*
Require the function library
This will include all other necessary files
*/
require_once 'lib.php';

/*
Initialize Flickr Photosets
*/
$fp = new FlickrPhotosetsCanvas(FlickrPhotosetsCanvas::uid_from_viewer, false, false, false);

?>

<fb:title>Open Source</fb:title>
<?=$fp->get_dashboard_header('is Open Source')?>

<div class="section short">
	<h2 class="header">What does that mean exactly?</h2>
	<div class="section_body">
		<p>The gist of it is that:
		<ol style="list-style-type: lower-alpha;">
			<li>the distribution of the source code to <?=$fp->app_name?> is completely free to everyone,</li>
			<li>the source code is readily available in a <a href="http://code.google.com/p/flickr-photosets/source">well-publicized place</a>, and</li>
			<li>you are free to redistribute any derivative works, as long as they are under the same license.</li>
		</ol>
		For the full details, read <a href="http://www.opensource.org/docs/osd">The Open Source Definition</a> on the <a href="http://www.opensource.org/">Open Source Initiative</a>&#8217;s website.</p>
	</div>
</div>

<div class="section short">
	<h2 class="header">License</h2>
	<div class="section_body">
		<p><img src="<?=$fp->app_call_url?>/images/osi-certified.gif" style="float:right;" />
		<?=$fp->app_name?> is licensed under the <a href="http://www.gnu.org/copyleft/gpl.html">GNU General Public License v3</a>, which is an <a href="http://www.opensource.org/">Open Source Initiative</a> approved license.</p>
		<div class="clearfix"></div>
	</div>
</div>

<div class="section short">
	<h2 class="header">Where can I get the code?</h2>
	<div class="section_body">
		<p>If you have subversion installed, you can use this command to anonymously check out the latest copy of the source code:
		<code style="margin-top:7px;margin-bottom:7px;">svn checkout http://flickr-photosets.googlecode.com/svn/trunk/ flickr-photosets</code>
		You can also browse through the code on <a href="http://flickr-photosets.googlecode.com/svn/">Google Code</a>.</p>
		<p>In the future, we will provide downloadable archives of the code at certain intervals (probably one per month).</p>
	</div>
</div>

<div class="section short">
	<h2 class="header">How can I contribute?</h2>
	<div class="section_body">
		<p>The first step if you want to contribute is to <a href="http://rit.facebook.com/apps/application.php?id=5017264455">check out the beta app</a>. The app page contains discussions about the future of the app and the coding processes, etc. The code powering the beta app is usually current with the latest revision checked in to Google Code.</p>
		<p>Everyone is free to contribute, but it is generally a good idea to have some knowledge in the following things:
		<ul>
			<li>PHP / MySQL</li>
			<li>Facebook API / FBML</li>
			<li>Flickr API</li>
			<li>Basic Javascript (FBJS)</li>
		</ul>
		Don&#8217;t worry if you're a little rusty on something, I&#8217;ve tried to make the code as easy as possible to understand. You should, however, know at least the basics of PHP.</p>
		
		<p>We could use the help most with coding new features, but there are other things that need to be done with the app. If you&#8217;re unsure about whether you can contribute something valuable to the project, don&#8217;t hesitate to <a href="http://www.facebook.com/inbox/?compose&amp;id=1470030056">send a message to the developer</a>.</p>
		
		<p>If you would like to submit code to the project, please make sure you read the <a href="http://code.google.com/p/flickr-photosets/wiki/CodingGuidelines">Coding Guidelines</a> before you start any work. The guidelines specify the format and conventions used in the code. Following these guidelines will improve the processing of your code and speed up the process of adding it into the app. Also, before you start, it would be a good idea to take a look over all of the code and familiarize yourself with it.</p>
	</div>
</div>

<?=$fp->echo_footer(true)?>